@charset "UTF-8";

#taopuPage {
  padding-bottom: 20px;

  & .main-container {
    & .search {
      padding: 40px 140px;

      & .title {
        color: $fontColor1;
        font-size: $fontSize + 2;
        text-align: center;
      }

      & .curren {
        font-size: $fontSize - 2;
        margin-top: 40px;
      }

      & .history {
        & .content {
          text-align: center;
          display: inline-block;
          padding: 20px;
          border: 1px solid $clf;
          cursor: pointer;
          box-sizing: border-box;
          background-color: $themeColor5;
          margin-right: 10px;
          max-width: 140px;

          &:hover {
            border-color: $themeColor60;
          }

          & .title {
            color: $fontColor1;
            font-size: $fontSize;
            margin-top: 10px;
            height: 42px;
            @include twoColtextOverflow;
          }

          & .sale {
            font-size: $fontSize - 2;
          }
        }
      }

      & .search-result {
        position: absolute;
        width: 100%;
        left: 0;
        top: 42px;
        height: 245px;
        overflow-y: auto;
        border-radius: 5px;
        background-color: $clf;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.078);
        line-height: normal;
        padding: 5px 0;
        z-index: 9;

        & .list {
          margin-top: 5px;

          & .result-content {
            line-height: 32px;
            text-align: left;
            color: $fontColor1;
            padding: 5px 15px;
            cursor: pointer;

            &:hover {
              background-color: $themeColor5;
            }

            & .result-title {
              display: inline-block;
              max-width: 80%;
              vertical-align: middle;
              @include textOverflow;
            }
          }
        }
        & .no-result{
          font-size: $fontSize - 2;
          color: $fontColor1;
          text-align: center;
          margin: 100px 0;
        }
      }
    }

    & .choose {
      padding: 9px 15px;

      & .float-left {
        margin-top: 2px;
      }
    }

    & .author-list{
      padding: 10px 15px;
      font-size: $fontSize - 2;
      @include displayFlex(flex,null,center);
      & .rank{
        color: $fontColor1;
        width: 40px;
      }
      & .author-img{
        width: 60px;
        height: 60px;
        margin-right: 10px;
      }
      & .author-info{
        flex-grow: 1;
        @include displayFlex(flex,space-between,null);
        flex-direction: column;
        height: 60px;
      }
      & .author-block{
        width: 120px;
        background-color: $themeColor5;
        padding: 10px;
        text-align: right;
        margin-left: 5px;
        & .num{
          font-size: $fontSize + 2;
          color: $fontColor1;
          & .ming{
            font-size: $fontSize - 2;
          }
        }
      }
    }
    & .build-author{
      position: absolute;
      right: 15px;
      top: 15px;
    }

    & .no-data{
      line-height:480px;
      text-align: center;
    }
  }
}
